﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MasterPage.master" AutoEventWireup="true"
    CodeFile="ExpertsList.aspx.cs" Inherits="Page_Expert_ExpertOfList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicEvents" runat="server" ImageUrl="~/Images/Experts/bgpicExpertsTop.png" />
        </div>
        <div id="ExpertsList">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:GridView ID="gvExpert" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CssClass="DataViewStyle" GridLines="None" 
                    onpageindexchanging="gvExpert_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="Expert"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LBExpertId" runat="server" Text='<%# Eval("ExpertId") %>' CommandArgument='<%# Eval("ExpertId")%>'
                                    OnClick="LBExpertId_Click"></asp:LinkButton>
                            </ItemTemplate>
                            <ControlStyle Width="120px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#FE9400"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label2" runat="server" Text="City"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("ExpertCity") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="120px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#FE9400"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label3" runat="server" Text="Province"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label6" runat="server" Text='<%# Eval("ExpertState") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="120px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#FE9400"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label4" runat="server" Text="Type"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label7" runat="server" Text='<%# Eval("ExpertType") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="120px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#FE9400"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnEventsBack" runat="server" ImageUrl="~/Images/btnPublicBack.png"
                                OnClick="btnEventsBack_Click" CausesValidation="False" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
